import Vue from 'vue'
import App from './App.vue'

// 引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入iconfont图标
import './icons/font_icon/iconfont.css'

Vue.use(ElementUI)

Vue.config.productionTip = false

// 引入路由
import router from './router/index'

new Vue({
  el: '#app',
  render: h => h(App),
  // 注册路由实例
  router: router
}).$mount('#app')
